__ = {
  config : {
    duTag : '0' //add this the load the trunk version, for debug purpose
  }
};

//logger
(function() {
  var ul, el = document.createElement('div');

  el.className = 'tlogger';
  el.style.cssText = 'position:fixed;height:300px;width:200px;top:10px;right:10px;border:1px solid #ccc;background:#fff;overflow-y:scroll;';
  document.body.appendChild(el);
  ul = document.createElement('ul');
  el.appendChild(ul);

  function dolog(t) {
    var li = document.createElement('li');
    li.style.cssText = 'padding:4px 0 4px 5px;border-bottom:1px solid #ccc;';
    li.appendChild(document.createTextNode(t));
    ul.appendChild(li);
    el.scrollTop = el.scrollTop + 999;
    li = null;
  }

  window.dolog = dolog;
}());
